package com.lwl.service.impl;

import com.lwl.entity.LayTreeData;
import com.lwl.entity.TMenu;
import com.lwl.service.TMenuService;
import com.lwl.dao.TMenuMapper;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (TMenu)表服务实现类
 *
 * @author Lei
 * @since 2022-10-24 14:43:28
 */
@Service
public class TMenuServiceImpl implements TMenuService {
   @Autowired
   private TMenuMapper tMenuDao;

   @Override
   public List<TMenu> queryAll(Integer rid) {
      return tMenuDao.queryAll(rid);
   }

   @Override
   public List<LayTreeData> getAllTreeMenu() {
      return tMenuDao.getAllTreeMenu();
   }

   @Override
   public List<Integer> getCheckDataList(Integer rid) {
      return tMenuDao.getCheckDataList(rid);
   }
}
